package com.vchello.bean.pro;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * 
 * @author power
 * 项目标签
 */
@TableName("pro_lables")
public class ProLables extends Model<ProLables> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@TableId("id")
	private int id;

	@TableField("name")
	private String name;

	@TableField("pro_id")
	private int proId;

	public ProLables() {
		super();
	}

	public ProLables(String name, int proId) {
		super();
		this.name = name;
		this.proId = proId;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getProId() {
		return proId;
	}

	public void setProId(int proId) {
		this.proId = proId;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}